<div dojoAttachPoint="containerNode" style="overflow: hidden">
    <div dojoAttachPoint="borderContainer" dojoType="dijit.layout.BorderContainer" title="tabnamn" design="sidebar">
        <div dojoAttachPoint="browse" dojoType="dojox.layout.ExpandoPane" splitter="true" duration="125" region="left" title="Urval" startExpanded="true" maxWidth="400px" style="width: 300px;">
            <!--<div dojoType="dijit.layout.ContentPane">
                <p>sök</p>-->
			<!--<div dojoAttachPoint="tree"></div>-->
			<!--<div dojoAttachPoint="tmodel" dojoType="dijit.tree.TreeStoreModel" id="treemodel" store="structureStore" query="{idstructure:1}" jsId="treemodel" labelAttr="name" childrenAttrs="['children']"></div>-->
	            <div dojoAttachPoint="tree,selector" openOnClick="false" jsId="treeobj" model="structureTreeModel" queryOptions="{cache:true}" dojoType="dijit.Tree" betweenThreshold="5" dragThreshold="5">
	            </div>
            <!--</div>-->
        </div>
        <div dojoAttachPoint="detailSwitch" dojoType="dijit.layout.StackContainer" id="StructureDetailSwitch" region="center">
            <div href="${helpUrl}" region="center" dojoAttachPoint="help" dojoType="dijit.layout.ContentPane" title="Hjälp">
                <h1>Office management</h1>
            </div>
            <div dojoType="dijit.layout.BorderContainer" dojoAttachPoint="edit" design="sidebar" title="Editera">
        <div region="center" dojoAttachPoint="main" dojoType="dijit.layout.ContentPane" title="Artikel" style="overflow: hidden">
                <div dojoAttachPoint="forms" dojoType="dijit.Editor" extraPlugins="['|',{
					name:  'dojoc._editor.plugins.UploadDoc',
 command: 'uploadDoc',
 uploadUrl:'/documents/ss_upload.php',
 downloadPath:'/documents/'},'createLink','unlink','delete',
				'|',
{name:  'dojox.editor.plugins.UploadImage',
 command: 'uploadImage',
 uploadUrl:'/images/ss_upload.php',
 downloadPath:'/images/',
 tempImageUrl:'/gui/busy.gif'},{name:'dojoc._editor.plugins.ToggleClass',
					command: 'imageLeft',
					toggleClassName: 'left',
					classConflict: ['right'],
					validNode: ['img']
				},{
					name:'dojoc._editor.plugins.ToggleClass',
					command: 'imageRight',
					toggleClassName: 'right',
					classConflict: ['left'],
					validNode: ['img']
				},/*
{
name: 'dojoc._editor.plugins.SetClass',
command: 'SetClass',
validNode: 'div',
params: {
	values: 
		['red','green','blue','gray']
}
},*/'formatBlock',{name: 'viewsource',stripScripts:false}]"
 name="#Translation.{lang}.header" styleSheets="/css/editor.css">
                    <p>Text</p>
                </div>
        </div>
        <div dojoAttachPoint="buttonBar" class="buttonbar" dojoType="dijit.layout.ContentPane" region="bottom" splitter="false" style="height: 27px; padding: 0; border: 0; margin: 0"></div>
        <div dojoAttachPoint="detail" dojoType="dojox.layout.ExpandoPane" splitter="true" duration="125" region="right" title="Detaljer" startExpanded="false" maxWidth="400px" style="width: 300px">
            <div dojoAttachPoint="accordion" dojoType="dijit.layout.AccordionContainer">
                <div dojoAttachPoint="categoryPane" dojoType="dijit.layout.ContentPane" title="Namn">
	                <label for="#Translation.{lang}.name">Namn</label>
	                <input type="text" dojoAttachPoint="forms,slugsource" name="#Translation.{lang}.name" dojoType="dijit.form.TextBox" />
	                <label for="#Translation.{lang}.headline">Rubrik</label>
	                <input type="text" dojoAttachPoint="forms" name="#Translation.{lang}.headline" dojoType="dijit.form.TextBox" />
	                <label for="slug">Slug</label>
	                <input type="text" dojoAttachPoint="forms,slug" name="slug" dojoType="dijit.form.TextBox" />
	                <!--<label for="itemtype_iditemtype">Typ av element</label>
	                <select dojoAttachPoint="forms,itemtype" name="itemtype_iditemtype" dojoType="dijit.form.FilteringSelect" autocomplete="true" store="ItemTypeStore"></select>-->
                </div>
                <div dojoAttachPoint="publishPane" dojoType="dijit.layout.ContentPane" title="Publicering">
	                <label for="active">Active</label>
	                <input dojoAttachPoint="forms" value="active" name="active" dojoType="dijit.form.CheckBox"/>
	                <label for="#Translation.{lang}.show">Active language</label>
	                <input dojoAttachPoint="forms" value="active" name="#Translation.{lang}.show" dojoType="dijit.form.CheckBox"/>
	                <label for="header_method">Visa sidhuvud</label>
					<select dojoAttachPoint="forms" dojoType="dijit.form.Select" 
				        name="header_method" 
				        autocomplete="true">
				                <option value="none" >Visa inte</option>
				                <option value="this" >Visa enbart denna</option>
				                <option value="append" >Lägg till</option>
					</select>
	                <label for="header_recurse">Applicera på undersidor</label>
	                <input dojoAttachPoint="forms" value="active" name="header_recurse" dojoType="dijit.form.CheckBox"/>
	                <label for="ItemType">Objekttyp</label>
					<select dojoAttachPoint="forms" dojoType="slipstream.form.Select"  name="ItemType" store="ItemTypeStore"></select>
	                <label for="Template">Mall</label>
					<select dojoAttachPoint="forms" dojoType="slipstream.form.Select"  name="Template" store="TemplateStore"></select>
	                <label for="TemplateDefault">Mallalternativ</label>
					<select dojoAttachPoint="forms" dojoType="slipstream.form.Select"  name="TemplateDefault" store="TemplateDefaultStore"></select>
                </div>
                <div dojoAttachPoint="categoryPane" dojoType="dijit.layout.ContentPane" title="Kategorier" style="overflow: hidden">
                	<div style="height: 100%; width: 100%" jsid="catselstruct" dojoAttachPoint="forms" multiple="true" dojoType="slipstream.form.CheckedMultiSelect" store="CategoryStore" name="Category"></div>
                </div>
                <!--<div dojoAttachPoint="metaPane" dojoType="dijit.layout.ContentPane" title="Metadata" preload="true">
                </div>-->
            </div>
        </div>
            </div>
        </div>
    </div>
</div>
